package com.xique.park.controller.auto;

import com.xique.common.core.web.controller.BaseController;
import com.xique.common.core.web.domain.AjaxResult;
import com.xique.park.service.biz.service.IParkInfoBizService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shd
 * @create 2022/3/14 11:10
 */
@RestController
@RequestMapping("/parkInfo")
public class ParkInfoController extends BaseController {

    @Autowired
    private IParkInfoBizService parkInfoBizService;

    @PostMapping("/init")
    public AjaxResult initParkInfo(Long parkId) {
        return parkInfoBizService.initParkInfo(parkId);
    }

}
